package demo2;

class Dog extends Animal{
    public Dog(String color,int legs){
        super(color,legs);
    }

    public void lookHome() {
        System.out.println("看家");
    }
}
